[INFO] fetching crate gotp 0.1.2...
[INFO] building gotp-0.1.2 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate gotp 0.1.2 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate gotp 0.1.2 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate gotp 0.1.2
[INFO] finished tweaking crates.io crate gotp 0.1.2
[INFO] tweaked toml for crates.io crate gotp 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53c0439db8a6497db51075613b22000a473d2186de8d120fcf8ff2bce1252b22
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "53c0439db8a6497db51075613b22000a473d2186de8d120fcf8ff2bce1252b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53c0439db8a6497db51075613b22000a473d2186de8d120fcf8ff2bce1252b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c0439db8a6497db51075613b22000a473d2186de8d120fcf8ff2bce1252b22", kill_on_drop: false }`
[INFO] [stdout] 53c0439db8a6497db51075613b22000a473d2186de8d120fcf8ff2bce1252b22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b87fa080cbc0739ea384bbb714705299beb4853e3cac55d68d8211c7ff8aab8f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b87fa080cbc0739ea384bbb714705299beb4853e3cac55d68d8211c7ff8aab8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rpassword v2.1.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling gotp v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/accounting.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                                               ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/commands.rs:6:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:10:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:34:87
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/generator.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]   |                                                              ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                           ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:85:64
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                     ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                             ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                        ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                                                       ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout]    |                              ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout]    |                           ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     if account.trim_right().is_empty() {
[INFO] [stdout]    |                ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if token.trim_right().is_empty() {
[INFO] [stdout]    |              ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/filehandler.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let iv = split[1].trim_right();
[INFO] [stdout]    |                           ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.33s
[INFO] running `Command { std: "docker" "inspect" "b87fa080cbc0739ea384bbb714705299beb4853e3cac55d68d8211c7ff8aab8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b87fa080cbc0739ea384bbb714705299beb4853e3cac55d68d8211c7ff8aab8f", kill_on_drop: false }`
[INFO] [stdout] b87fa080cbc0739ea384bbb714705299beb4853e3cac55d68d8211c7ff8aab8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d93b461479c253d218feb4076fcd8543305bafeae7d0ca0f1834656b9648c65
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7d93b461479c253d218feb4076fcd8543305bafeae7d0ca0f1834656b9648c65", kill_on_drop: false }`
[INFO] [stderr]    Compiling gotp v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/accounting.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                                               ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/commands.rs:6:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:10:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:34:87
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/generator.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]   |                                                              ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                           ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:85:64
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                     ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                             ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                        ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                                                       ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout]    |                              ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout]    |                           ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     if account.trim_right().is_empty() {
[INFO] [stdout]    |                ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if token.trim_right().is_empty() {
[INFO] [stdout]    |              ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/filehandler.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let iv = split[1].trim_right();
[INFO] [stdout]    |                           ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.22s
[INFO] running `Command { std: "docker" "inspect" "7d93b461479c253d218feb4076fcd8543305bafeae7d0ca0f1834656b9648c65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d93b461479c253d218feb4076fcd8543305bafeae7d0ca0f1834656b9648c65", kill_on_drop: false }`
[INFO] [stdout] 7d93b461479c253d218feb4076fcd8543305bafeae7d0ca0f1834656b9648c65
